<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>map的遍历</title>
</head>
<body>

   <h1>map的遍历</h1>
  <div th:text="${map['1001']}"></div>
<!--
  遍历的map  key 和 value的
-->
   <div th:each="entry,star:${map}">
     [[${entry.key}]]- [[${entry.value}]]


   </div>

</body>
</html>